﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
 Inherits="System.Web.Mvc.ViewPage<IntellectShop.Web2.ViewModels.StoreCategoryIndexViewModel>" %>
<%@ Import Namespace="IntellectShop.Web2.Code" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%= Html.Resource("BrowseCategories") %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<h1><%= Html.Resource("BrowseCategories") %></h1>
	<div class="innerArticle">
		<% Html.RenderAction("ViewBody", "PageContent", new { pageContentUniqName = IntellectShop.Common.PageContentUniqName.CertificationCategoryIndex }); %>
	</div>
	<p>
		<%= Html.Resource("SelectFromCategories") %>:
	</p>
	<ul>
		<% foreach (IntellectShop.Common.Category each in Model.Categories)
		{ %>
		<li>
			<%= Html.ActionLink(
				each.ToString(),
				"Browse", "Certification",
				new { CategoryID = each.CategoryID }, null)%>
		</li>
		<% } %>
	</ul>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="SecondInfo" runat="server">
	<div class="sidebaritem">
		<% Html.RenderPartial("SubmenuStore"); %>
	</div>
</asp:Content>
